package com.cuit.service;

import com.cuit.doamin.Department;

import java.util.List;

public interface DepartmentService {

    /**
     * 增加一个部门
     *
     * @return
     */
    public boolean add(Department department);

    /**
     * 删除一个部门
     *
     * @return
     */
    public boolean delete(Department department);

    /**
     * 修改一个部门
     *
     * @return
     */
    public boolean update(Department department);

    /**
     * 查询所有部门
     *
     * @return
     */
    public List<Department> findAll();

}
